<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/vue.min.js"></script>
		<style type="text/css">
			.red{
				color: red;
			}
			.green{
				color: green;
			}
		</style>
	</head>
	<body>
		<div id="vue">
			<div>{{song}}</div>
			<button @click="clickBtn">点击</button>
		</div>
	</body>
	<script type="text/javascript">
		var app = new Vue({
			el:"#vue",
			data:function  () {
				return {
					song:"11111"
				}
			},
			methods:{
				clickBtn:function  () {
					this.song = "2222"
				}
			}
		})
		
	</script>
</html>
